﻿package cn.antscript.airCMS.unitTest 
{
	import cn.antscript.airCMS.display.LoginPanel;
	import flash.display.Sprite;
	import flash.events.Event;
	
	/**
	 * ...
	 * @author 
	 */
	public class LiginTest extends Sprite
	{
		
		public function LiginTest() 
		{
			addEventListener(Event.ADDED_TO_STAGE, onAdd);
			
			
		}
		
		private function onAdd(e:Event):void 
		{
			removeEventListener(Event.ADDED_TO_STAGE, onAdd);
			
			
			var login:LoginPanel = new LoginPanel();
			login.x = 0;
			login.y = 0;
			addChild(login);
		}
		
	}

}